package com.novax.ex.activity.open.model.response;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description 奖品池商品 response
 * @Author zhaolei
 * @Date 2/22/23 2:14 PM
 * @Version 1.0
 */
@Schema(description = "奖品池商品")
@Data
@EqualsAndHashCode(callSuper=true)
public class MallPrizeResponse extends BaseEntity {

    @Schema(description = "商品ID")
    private Long mallProductId;

    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String title;

    /**
     * 期数
     */
    @Schema(description = "期数")
    private Integer roundCount;

    /**
     * 售卖价格
     */
    @Schema(description = "售卖价格")
    private BigDecimal price;

    /**
     * 货币名称(英文简称)
     */
    @Schema(description = "货币名称(英文简称)")
    private String currency;

    /**
     * 最小单位费用
     */
    @Schema(description = "最小单位费用")
    private BigDecimal minPrice;

    /**
     * 最多可购分数 price/minPrice-sellCount
     **/
    @Schema(description = "最多可购分数")
    private Integer maxBuyCount;
    /**
     * 已完成筹款金额
     */
    @Schema(description = "已完成筹款金额")
    private BigDecimal sellPrice;

    /**
     * 已售卖总份数
     */
    @Schema(description = "已售卖总份数")
    private Integer sellCount;

    @Schema(description = "状态：1.未参与 2.已参与")
    private Integer status;

    @Schema(description = "商品主图")
    private String img;

    @Schema(description = "商品轮播图")
    private List<String> imgs;

    @Schema(description = "商品详情")
    private String description;
}
